var a=45
console.log(a.toString(2),parseInt(a.toString(2)),typeof parseInt(a.toString(2)));
console.log(+a.toString(2),typeof +a.toString(2));
console.log(Number(a.toString(2)),typeof Number(a.toString(2)))